import request from '@/utils/request'
// login
export function login(params) {
  // debugger

  return request.post('/users/login', params)
}
// getInfo
export function getInfo(params) {
  return request.get('/users/getuser', params)
}
// 退出
export function logout() {
  return request({
    url: '/users/logout',
    method: 'post'
  })
}
